import { IForm } from '@/base-ui/form'

export const searchFormConfig: IForm = {
  labelWidth: '120px',
  itemStyle: {
    padding: '10px 40px'
  },
  // colLayout: {
  //   span: 8
  // },
  formItems: [
    {
      field: 'total_order_no',
      type: 'input',
      label: '总订单号',
      placeholder: '请输入总订单号'
    },
    {
      field: 'order_no',
      type: 'input',
      label: '商家订单号',
      placeholder: '请输入商家订单号'
    },
    {
      field: 'name',
      type: 'input',
      label: '货物名',
      placeholder: '请输入货物名'
    },
    {
      field: 'shop_item_id',
      type: 'input',
      label: '货物id',
      placeholder: '请输入货物id'
    },
    {
      field: 'order_address',
      type: 'input',
      label: '订单地址',
      placeholder: '请输入订单地址'
    },
    {
      field: 'order_user_name',
      type: 'input',
      label: '客户名',
      placeholder: '请输入客户名'
    },
    {
      field: 'order_phone_number',
      type: 'input',
      label: '电话',
      placeholder: '请输入电话号'
    },

    {
      field: 'createAt',
      type: 'datepicker',
      label: '创建时间',
      placeholder: '请选择创建时间范围',
      otherOptions: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    }
  ]
}
